<?php

$Hardy_config = array();

$Hardy_config['slash'] = '\\';
$Hardy_config['base_dir'] = str_replace('Hardy'.$Hardy_config['slash'].'config', '', dirname(__FILE__));
$Hardy_config['controller_dir'] = $Hardy_config['base_dir'].'controllers'.$Hardy_config['slash'];
$Hardy_config['model_dir'] = $Hardy_config['base_dir'].'models'.$Hardy_config['slash'];
$Hardy_config['view_dir'] = $Hardy_config['base_dir'].'views'.$Hardy_config['slash'];

$Hardy_config['database'] = 'mysql';
$Hardy_config['connect_char'] = 'gb2312';

$Hardy_config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['REQUEST_URI'], '/')+1);

$Hardy_config['admin'] = 'admin';

?>